package 结构型模式.外观模式;

public class Client {
    public static void main(String[] args) {
        //创建智能音箱对象
        SmartAppliancesFacade smartAppliancesFacade=new SmartAppliancesFacade();
        //控制家电
        smartAppliancesFacade.say("打开家电");
        System.out.println("-------------------");
        smartAppliancesFacade.say("关闭家电");
    }
}
